package dao;

public class School {
    private Integer id;
    private String description;
    private String no;
    private String remarks;
    private University university;
    public School(String description,String no){
        this.description = description;
        this.no = no;
    }
    public School(Integer id,String description,String no,String remarks,University university){
        this.id = id;
        this.description = description;
        this.no = no;
        this.remarks = remarks;
        this.university = university;
    }

    public String getRemarks() {
        return remarks;
    }

    public Integer getId() {
        return id;
    }
    public String getDescription() {
        return description;
    }
    public String getNo() {
        return no;
    }
    public University getUniversity() {
        return university;
    }
    @Override
    public String toString() {
        return "School{" +
                "id=" + id +
                ", description='" + description + '\'' +
                ", no='" + no + '\'' +
                ", university=" + university +
                '}';
    }
    @Override
    public int compareTo(School o) {
        return 1;
    }
}
